package com.carleasoft.mps.cms.business.article.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author yanghao
 * @date 2021-12-14 09:33
 * @project mps
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "c_article_operating_record")
public class ArticleOperationRecordEntity extends Model<ArticleOperationRecordEntity> {

    /**
     *文章编码
     */
    @TableId(type = IdType.INPUT,value = "ARTICLE_CODE")
    private String articleCode;

    /**
     * 记录类型
     */
    @TableField(value = "RECORD_TYPE")
    private Integer recordType;

    /**
     * 记录人
     */
    @TableField(value = "RECORD_BY")
    private String recordBy;

    /**
     * 记录时间
     */
    @TableField(value = "RECORD_TIME")
    private LocalDateTime recordTime;

    /**
     * 操作备注
     */
    @TableField(value = "RECORD_REMARK")
    private String recordRemark;

}
